package cn.xinfei.xdecision.engine.runner.context.model;

import lombok.Data;

import java.util.Objects;

@Data
public class TrackModel {

//    private String engineCode;
    private String versionNo;
    private String nodeCode;
    private String nodeType;
    private String nodeName;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TrackModel that = (TrackModel) o;
        return Objects.equals(nodeCode, that.nodeCode);
    }

    @Override
    public int hashCode() {
        return Objects.hash(nodeCode);
    }
}
